package the.workshop.bu.dto.req;

import org.springframework.beans.BeanUtils;
import the.workshop.bu.dto.CustomerSalesDTO;

import java.util.List;

public class CustomerSalesReq {
    private List<Integer> customerIdList;
    private String salesId;

    public CustomerSalesDTO toCustomerSalesDTO() {
        CustomerSalesDTO dto = new CustomerSalesDTO();
        BeanUtils.copyProperties(this, dto);
        return dto;
    }

    public List<Integer> getCustomerIdList() {
        return customerIdList;
    }

    public void setCustomerIdList(List<Integer> customerIdList) {
        this.customerIdList = customerIdList;
    }

    public String getSalesId() {
        return salesId;
    }

    public void setSalesId(String salesId) {
        this.salesId = salesId;
    }

}
